package com.sqrj.phoneorder;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

//测试接口
@RestController
public class hello {
    @RequestMapping(value = "/welcome", method= RequestMethod.GET)
    public String hello(){
        return "hello world!";
    }
}
